﻿using System;
using System.Collections.Generic;

using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using AHB.Controls;

namespace Site.Secure
{
    public partial class Data : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            string sControl = Request.QueryString["href"];
            if (sControl != null)
            {
                Control control = LoadControl("../" + sControl + ".ascx");
                lblText.Text = Request.QueryString["htext"];
                PlaceHolder1.Controls.Add(control);
            }
            else
            {
                Response.Redirect("Default.aspx");
            }
           // Request.QueryString["Control"];
        }
    }
}